package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSuccess;

import java.util.Map;

public interface OrderService  {
    Result order(Map map) throws Exception;

    OrderSuccess findById(Integer id);
}
